const getters = {
	// token
	token: state => state.user.token,
	// 头像
	avatar: state => state.user.avatar,
	// 昵称
	nickname: state => state.user.nickname,
	// 用户id
	userId: state => state.user.userId,
	// 部门id
	deptId: state => state.user.deptId,
	// 部门名称
	dept: state => state.user.dept,
	// 主菜单数据
	menuRouter: state => state.permission.menuRouter,
	// 二级路由区项目菜单项目
	secondaryRouter: state => state.permission.secondaryRouter,

	// 错误日志
	// errorLogs: state => state.errorLog.logs,
	// 按钮权限
	btnRoleList: state => state.permission.btnRoleList
}
export default getters
